var environment = {
	language:"en" //改变这里的值。来切换中英文
}
var langFiles = {
	zh:require("./i18n/zh.js").lang,
	ug:require("./i18n/ug.js").lang,

}
exports.lang = function(lang,key) {
	if (lang == 1) {
		return langFiles.ug[key] || "not find";
	}else if (lang == 2) {
		return langFiles.zh[key] || "not find";
	}
	return key;
}
